package com.carl.dataSources.config;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;


public class localRoutingDataSource extends AbstractRoutingDataSource {

    @Override
    protected Object determineCurrentLookupKey() {
        return DataSourceSwitch.getDataSource();
    }

}
